﻿using JshRCSWebApi.Infrastructure;
using JshRCSWebApi.Infrastructure.Domain.DTO.SysService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Service.SysService
{
    public interface MenuService
    {
        public Task<ApiResult> AddMenu(MenuAddDTO addDTO, int UID);
        public Task<ApiResult> DeleteMenu(int iD);
        public Task<ApiResult> GetMenuIDAndTitleList();
        public Task<ApiResult> GetMenuList(MenuSearchDTO searchDTO);
        public Task<ApiResult> GetMenuListByID(int iD);
        public Task<ApiResult> GetParentsMenus();
        public Task<ApiResult> MoveDownMenu(int iD);
        public Task<ApiResult> MoveUpMenu(int iD);
        public Task<ApiResult> UpdateMenu(MenuUpdateDTO updateDTO, int UID);
    }
}
